package project.dao;

import org.apache.ibatis.annotations.Mapper;
import project.model.History;

import java.util.List;

@Mapper
public interface HistoryMapper {
    //添加历史记录
    public int addHistory(History history);

    //用户查看历史记录
    public List<History> getHistory(int uid);
    //删除历史记录
    public int deleteHistory(int hid);
}
